import request from '@/utils/request'

// api地址
const api = {
  list: 'activity/index',
  detail: 'activity/detail',
	memberList:'activity/getMemberListById'
}

// 活动列表
export const list = (param) => {
  return request.get(api.list, param)
}

// 活动详情
export const detail = (activityId) => {
  return request.get(api.detail, { activityId })
}

// 活动参与人员
export const memberList = (activityId) => {
  return request.get(api.memberList, { activityId })
}


